<template>
	<view class="carry-cash-box">
		<!-- 到账银行卡 -->
		<view class="card-box choose-card">
			<view class="tip">
				<text>到账银行卡</text>
			</view>
			<view class="choose-card-to" @click="goToPage('/pages/restmoney/BankCard')">
				<text>请选择到账银行卡</text>
				<uni-icons type="forward"></uni-icons>
			</view>
		</view>

		<!-- 提现金额 -->
		<view class="card-box choose-money">
			<view class="choose-money-top">
				<text>提现金额</text>
			</view>
			<view class="choose-money-all">
				<view class="ipt-box">
					<text style="margin: 24rpx 20rpx 0 0;">¥</text>
					<input type="digit" placeholder="最高可申请960.32元" placeholder-style="color:#D0D0D0;font-size:28rpx;"
						class="input">
				</view>
				<text style="color: #FF7803;line-height: 90rpx;font-weight: 500;font-size: 28rpx;">全部提现</text>
			</view>
			<view class="tip">
				<text class="bd-top">提现金额需大于10元</text>
			</view>
		</view>

		<!-- 提交申请  active -->
		<view class="submit-btn">
			提交申请
		</view>

		<!-- 提现规则 -->
		<view class="public345 rule-box">
			<view class="rule-tit">
				提现规则
			</view>
			<view class="rule-cont">
				1、每日最多可提现5次
			</view>
			<view class="rule-cont">
				2、单次提现最低金额为10元
			</view>
			<view class="rule-cont">
				3、小额提现立即到账！高于1000元预计1个工作日
			</view>
			<view class="rule-cont">
				4、单次提现金额上限为5000元
			</view>
			<view class="rule-cont">
				5、每个用户每日提现限额2万元
			</view>
			<view class="rule-cont">
				6、提现时将扣除6%的税+2%的导师服务费
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goToPage(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	page {
		background: #F8F9FA;
	}

	.carry-cash-box {
		width: 100vw;
		padding-top: 18rpx;
		font-size: 24rpx;

		.card-box {
			width: 690rpx;
			margin: 0 auto;
			border-radius: 20rpx;
			background-color: #fff;
			padding: 32rpx;
			box-sizing: border-box;
		}

		.tip {
			font-size: 28rpx;
			color: #999;

			.bd-top {
				display: inline-block;
				width: 620rpx;
				padding-top: 32rpx;
				border-top: 1rpx solid rgba(0, 0, 0, .1);
			}
		}

		// 请选择到账银行卡
		.choose-card {
			font-size: 28rpx;

			.choose-card-to {
				display: flex;
				justify-content: space-between;
				margin-top: 34rpx;
				color: #FF7803;
			}
		}

		// 提现金额
		.choose-money {
			margin-top: 18rpx;
			font-size: 24rpx;

			.choose-money-top {
				font-size: 28rpx;
				line-height: 24rpx;
				color: #333;
			}

			.choose-money-all {
				display: flex;
				justify-content: space-between;
				padding: 40rpx 0;

				.ipt-box {
					display: flex;
					justify-content: space-between;
					width: 400rpx;
					font-size: 36rpx;

					.input {
						height: 72rpx;
						font-size: 72rpx;
						line-height: 72rpx;

						// 在微信小程序
						// #ifdef MP-WEIXIN 
						margin-top: 10rpx;
						// #endif 
					}
				}
			}
		}

		// 提交申请
		.submit-btn {
			width: 690rpx;
			margin: 64rpx auto 0;
			border-radius: 44rpx;
			text-align: center;
			line-height: 88rpx;
			font-size: 28rpx;
			background: #FF7803;
			color: #fff;
			opacity: .3;

			&.active {
				opacity: 1;
			}
		}

		// 提现规则
		.rule-box {
			color: #666;

			.rule-tit {
				padding: 84rpx 0 48rpx 0;
				font-size: 28rpx;
			}

			.rule-cont {
				line-height: 50rpx;
				color: #999;
			}
		}
	}
</style>
